package cn.edu.scnu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 打开login.hxml
 */
@Controller
public class IndexController {
    @GetMapping ("/login")
    public String login() {
        return "login";
    }
    @RequestMapping ("/index")
    public String index(){
        return "index";
    }
    @GetMapping("/register")
    public String register(){
        return "register";
    }
    @GetMapping("/charts")
    public String charts(){return "charts";}
}
